<template>
	<div class="container1">
		<div class="pic"></div>
		<div class="box">
			这这这这这这这这这这这这这这这这这这这这这这这这里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容
		</div>
	</div>
	<div class="container2">
		<div class="pic"></div>
		<div class="box">
			这这这这这这这这这这这这这这这这这这这这这这这这里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容里有内容
		</div>
	</div>
	<div class="container3">
		<div class="box">内内内内内内内内内内内内内内内内内内内内内内内内内内内内内内内容容容容容容容容容容容容容容容容容容容容容容容容容容容容容容容</div>
	</div>
</template>
<script>
export default {
	name: '',
	data() {
		return {
			title: `Shapes`
		}
	}
}
</script>
<style lang="scss" scoped>
.container3 {
	.box {
		&:before {
			content: '';
			width: 50px;
			height: 50px;
			border-radius: 100%;
			float: left;
			shape-outside: border-box;
			shape-margin: 20px;
		}
	}
}
.container2 {
	.pic {
		background: linear-gradient(45deg, #000, #00000000);
		width: 100px;
		height: 100px;
		border: 1px solid #000;
		shape-outside: linear-gradient(45deg, #000, #00000000);
		shape-image-threshold: 0.5;
		float: left;
	}
}
.container1 {
	.pic {
		width: 100px;
		height: 100px;
		border: 1px solid #000;
		//shape-outside: circle(20px at right center);
		shape-outside: border-box;
		border-radius: 100%;
		float: left;
		//animation: move 2s linear forwards;
	}
}
@keyframes move {
	0% {
		shape-outside: circle(20px at 50px 50px);
	}
	100% {
		shape-outside: circle(20px at 200px center);
	}
}
</style>